package week3.week03.starbucks_ex;

public class IceCream extends DrinkDecorrator {
    private double price = 3;
    public IceCream(IDrink iDrink){
        super(iDrink);
    }
    public double getPrice(){
        System.out.println("IceCream: "+price);
        return price + iDrink.getPrice();
    }
}
